package com.woniuxy.oldobject.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.woniuxy.oldobject.entity.NursingServer;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Author： 倪和楠
 * @Todo：
 * @Date： 2022/7/26 15:40
 * @Version： 1.0
 */
@Service
public interface NursingServerService extends IService<NursingServer> {
    List<NursingServer> allserver();

    boolean newnurserver(NursingServer nursingServer);

    boolean updateserver(NursingServer nursingServer);

    int deleteById(Integer id);

    int insertServerWithProjectId(List<NursingServer> list);

    /**
     * 查询指定行数据
     *
     * @param nursingServer 查询条件
     * @return 对象列表
     */
    List<NursingServer> queryAllByLimit(NursingServer nursingServer);
}
